package com.oa.entity;

import java.io.Serializable;

import java.util.HashSet;
import java.util.Set;

/**
 * The persistent class for the tbl_rights database table.
 * 
 */
public class TblRight implements Serializable {
	private static final long serialVersionUID = 14L;

	private String rightsCode;

	private String rightsParentCode;

	private String rightsTip;

	private String rightsType;

	private String rightsUrl;

	private Set<TblRole> role_box = new HashSet<TblRole>();

	public TblRight() {
	}

	public String getRightsCode() {
		return this.rightsCode;
	}

	public void setRightsCode(String rightsCode) {
		this.rightsCode = rightsCode;
	}

	public String getRightsParentCode() {
		return this.rightsParentCode;
	}

	public void setRightsParentCode(String rightsParentCode) {
		this.rightsParentCode = rightsParentCode;
	}

	public String getRightsTip() {
		return this.rightsTip;
	}

	public void setRightsTip(String rightsTip) {
		this.rightsTip = rightsTip;
	}

	public String getRightsType() {
		return this.rightsType;
	}

	public void setRightsType(String rightsType) {
		this.rightsType = rightsType;
	}

	public String getRightsUrl() {
		return this.rightsUrl;
	}

	public void setRightsUrl(String rightsUrl) {
		this.rightsUrl = rightsUrl;
	}

	public Set<TblRole> getRole_box() {
		return role_box;
	}

	public void setRole_box(Set<TblRole> role_box) {
		this.role_box = role_box;
	}
}